<template>
    <div class="">
        <div class="pr10">
            <div class="analyItem">
                <p class="analyItemTit tx-center">状态</p>
                <div class="analyItemCon">
                    <span class="cGreen">2A客户</span>
                </div>
            </div>
        </div>
        <div class="thinScroll pr10" v-scrollHeight="10">
            <div class="analyItem">
                <p class="analyItemTit tx-center">投诉</p>
                <div class="analyItemCon">
                    <p class="col-md-4">
                        <span class="pr8 cLightGray">当月投诉项目</span>
                        <span>0 个</span>
                    </p>
                    <p class="col-md-4">
                        <span class="pr8 cLightGray">投诉次数</span>
                        <span>0次</span>
                    </p>
                </div>
            </div>
             <router-link tag="div" :to="routerPath('resultComThree')" class="analyItem anItemBor" active-class="anItemBor-active">
                <p class="analyItemTit tx-center">完工</p>
                <div class="analyItemCon">
                    <p class="col-md-3">
                        <span class="pr8 cLightGray">应完</span>
                        <span>15</span>
                    </p>
                    <p class="col-md-3">
                        <span class="pr8 cLightGray">已完</span>
                        <span>2</span>
                    </p>
                    <p class="col-md-3">
                        <span class="pr8 cLightGray">未完</span>
                        <span>13</span>
                    </p>
                    <p class="col-md-3">
                        <span class="pr8 cLightGray">完工率</span>
                        <span>13.00%</span>
                    </p>
                </div>
            </router-link>
        </div>
    </div>
</template>
<script>
export default {
    data () {
        return {

        }
    },
    methods: {
        // 路由跳转路径拼接
        routerPath (path) {
            return this.$route.matched[1].path + '/' + path
        },
        // 直接进行路由跳转路径
        routerPush (path) {
            this.$router.push(this.$route.matched[1].path + '/' + path)
        }
    }
}

</script>
